package org.blogwu.jvm_learn.controller;

import org.blogwu.jvm_learn.service.AyscService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class AyscController {

    @Autowired
    AyscService ayscService;

    public void asynTest() {
        System.out.println("1");
        String res = ayscService.addUserAndSendEmail();
        System.out.println("4");
        System.out.println("res:" + res);
    }

}
